package cn.tedu._02notice.mapper;

import cn.tedu._02notice.pojo.dto.NoticeListQuery;
import cn.tedu._02notice.pojo.entiy.Notice;
import cn.tedu._02notice.pojo.vo.NoticeDetailInfoVO;
import cn.tedu._02notice.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface NoticeMapper {
    int insert(Notice notice);

    List<NoticeListVO> selectByTitleAndType(NoticeListQuery noticeListQuery);

    NoticeDetailInfoVO selectById(Long id);

    int deleteById(Long id);

    int updateById(Notice notice);
}
